using Commons.Models.Settings.Dtos.TradeValues;
using Commons.Models.TradeValues;

namespace Commons.Models.Settings.Mappers.TradeValues
{
	public class CostMapper : IMapper<CostDto, ITradeValue>
	{
		public ITradeValue Map (CostDto config)
		{
			if (config == null)
			{
				return null;
			}

			return new TradeValuesMapper().Map(config);
		}
	}
}

